package com.luom.fsp.model.dto.order;

import com.luom.fsp.common.PageRequest;
import com.luom.fsp.model.vo.ProductSKUVO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * 查询订单请求
 */

@EqualsAndHashCode(callSuper = true)
@Data
public class OrderAllQueryRequest extends PageRequest implements Serializable {

    // 基本订单信息
    private Long id;
    private String orderStatus;
    private String paymentStatus;

    // 时间范围查询
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date paymentTimeStart;
    private Date paymentTimeEnd;

    // 金额范围
    private BigDecimal minTotalPrice;
    private BigDecimal maxTotalPrice;

    // 商品信息
    private Long productId;
    private String productName;
    private Long categoryId;
    private Long skuId;

    // 购买数量范围
    private Integer minQuantity;
    private Integer maxQuantity;

    // 用户信息
    private Long userId;
    private String userName;
    private String phone;
    private String email;

    // 地址信息
    private Long addressId;
    private String addressName;

    // 扩展说明
    private static final long serialVersionUID = 1L;
}